package com.wp.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@Accessors(chain = true)
public class FeedBack implements Serializable {

    private static final long serialVersionUID = 3284211094472846087L;
    //反馈uid
    private String uid;
    //用户uid
    private String userUid;
    //反馈标题
    private String title;
    //反馈内容
    private String content;
    //用户名字
    private String userName;
    //回答
    private String reply;
    //创建时间
//    private Date createTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone="GMT+8")
    private Date createTime;
}
